﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Web.Models;

namespace Web.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }
        public ActionResult About()
        {
            ViewBag.Message = "Your application description page.";

            return View();
        }

        public ActionResult Contact()
        {
            ViewBag.Message = "Your contact page.";

            return View();
        }
        //public JsonResult Menu()
        //{
        //    JsonResult jsonresult = new JsonResult();
        //    jsonresult.JsonRequestBehavior = JsonRequestBehavior.AllowGet;
        //    Rootobject obj = new Rootobject();
        //    Menu1 cm = new Menu1();
        //    cm.icon = "";
        //    cm.menuname = "首页";
        //    cm.url = "/Home/";
        //    Menu.Menu
        //}
    }
}